import request from './request'

export const list = (data) => {
  return request({
    url: '/chargeBill/list',
    method: 'POST',
    data
  })
}

export const save = (data) => {
  return request({
    url: '/chargeBill/save',
    method: 'POST',
    data
  })
}

export const ToSave = (data) => {
  return request({
    url: '/chargeBill/ToSave',
    method: 'POST',
    data
  })
}

export const modify = (data) => {
  return request({
    url: '/chargeBill/modify',
    method: 'POST',
    data
  })
}

export const remove = (id) => {
  return request({
    url: '/chargeBill/remove?ids=' + id,
    method: 'GET'
  })
}
